import axios from 'axios'
const baseURL = 'http://43.138.15.137:7000/api/private/v1'
const token = localStorage.getItem('token')
export default () => ({
  methods: {
    $httpGet(url) {
      return this.$axios.get(baseURL + url, {
        params,
        headers: {
          Authorization: token
        }
      })
    }
  }
})